package com.drinks.yiniang.entity.comment;

import com.hansen.library.entity.BaseJson;

import java.util.List;

/**
 * 评论
 *
 * @author han
 * @date 2019/12/9
 */
public class CommentJson extends BaseJson {

    private CommentData data;

    public CommentData getData() {
        return data;
    }

    public void setData(CommentData data) {
        this.data = data;
    }

    public static class CommentData {
        //酒单详情
        private CommentInfo wine_bills;
        //社区详情
        private CommentInfo community;
        //社区活动详情
        private CommentInfo activities;
        //评论列表
        private List<CommentList> data;

        public CommentInfo getWine_bills() {
            return wine_bills;
        }

        public void setWine_bills(CommentInfo wine_bills) {
            this.wine_bills = wine_bills;
        }

        public CommentInfo getCommunity() {
            return community;
        }

        public void setCommunity(CommentInfo community) {
            this.community = community;
        }

        public CommentInfo getActivities() {
            return activities;
        }

        public void setActivities(CommentInfo activities) {
            this.activities = activities;
        }

        public List<CommentList> getData() {
            return data;
        }

        public void setData(List<CommentList> data) {
            this.data = data;
        }
    }

    public static class CommentInfo {
        private String id;
        private String fans_id;
        private String title;
        private String mark;
        private String is_recommend;
        private String like_count;
        private String comment_count;
        private String collect_count;
        private String is_like;
        private String is_collect;
        //回复的父级人昵称
        private String at_fans;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getFans_id() {
            return fans_id;
        }

        public void setFans_id(String fans_id) {
            this.fans_id = fans_id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getMark() {
            return mark;
        }

        public void setMark(String mark) {
            this.mark = mark;
        }

        public String getIs_recommend() {
            return is_recommend;
        }

        public void setIs_recommend(String is_recommend) {
            this.is_recommend = is_recommend;
        }

        public String getLike_count() {
            return like_count;
        }

        public void setLike_count(String like_count) {
            this.like_count = like_count;
        }

        public String getComment_count() {
            return comment_count;
        }

        public void setComment_count(String comment_count) {
            this.comment_count = comment_count;
        }

        public String getCollect_count() {
            return collect_count;
        }

        public void setCollect_count(String collect_count) {
            this.collect_count = collect_count;
        }

        public String getIs_like() {
            return is_like;
        }

        public void setIs_like(String is_like) {
            this.is_like = is_like;
        }

        public String getIs_collect() {
            return is_collect;
        }

        public void setIs_collect(String is_collect) {
            this.is_collect = is_collect;
        }
    }

    public static class CommentList {
        private String id;
        //社区评论列表
        private String community_id;
        //酒单评论列表
        private String wine_bills_id;
        //社区活动id
        private String stores_activities_app_id;
        private String fans_id;
        private String nickname;
        private String pid;
        private String content;
        private String created_at;
        //回复的用户
        private String at_fans;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getWine_bills_id() {
            return wine_bills_id;
        }

        public void setWine_bills_id(String wine_bills_id) {
            this.wine_bills_id = wine_bills_id;
        }

        public String getStores_activities_app_id() {
            return stores_activities_app_id;
        }

        public void setStores_activities_app_id(String stores_activities_app_id) {
            this.stores_activities_app_id = stores_activities_app_id;
        }

        public String getFans_id() {
            return fans_id;
        }

        public void setFans_id(String fans_id) {
            this.fans_id = fans_id;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getPid() {
            return pid;
        }

        public void setPid(String pid) {
            this.pid = pid;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getCommunity_id() {
            return community_id;
        }

        public void setCommunity_id(String community_id) {
            this.community_id = community_id;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }

        public String getAt_fans() {
            return at_fans;
        }

        public void setAt_fans(String at_fans) {
            this.at_fans = at_fans;
        }
    }
}
